<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$tablapri="noticias";
$condicionpri="not_destacada<>1 and not_seccion=7 and not_publicar=1";
$ordenpri="order by not_id desc limit 0,3 ";
$respri=  cons_sql($tablapri, $condicionpri, $ordenpri);



?>
     <div id="opinion">
     <div class="opinionCat">OPINION</div>
 <?php    if(mysql_num_rows($respri)>0):
    while($regpri=  mysql_fetch_array($respri)):?>
<div class="opinionCol">
	  <div class="opinionFoto"><img src="../panel/archivos/<?php echo utf8_encode($regpri['not_imagen'])?>" width="100" height="80"/></div>
                    <div class="opinionAutor"><?php echo utf8_encode($regpri['not_copete'])?></div>
                		<div class="opinionTitulo"><a href="noticia.php?not_id=<?php echo utf8_encode($regpri['not_id'])?>" class="link1"><?php echo utf8_encode($regpri['not_titulo'])?></a></div>
       </div>

<?php
endwhile;
endif;
?>

  </div> 